home *** CD-ROM | disk | FTP | other *** search
/ HyperLib 1997 Winter - Disc 1 / HYPERLIB-1997-Winter-CD1.ISO.7z / HYPERLIB-1997-Winter-CD1.ISO / オンラインウェア / PRG / MacPerl 506 appl folder.sit / MacPerl 506 appl folder / Mac_Perl_506r1m_appl / eg / README < prev    next >
Text File  |  1995-11-01  |  1KB  |  31 lines

  1. Most of the code in ths directory probably doesn't work with MacPerl. If
  2. anybody feels like going through the directory and systematically make
  3. an inventory, drop me a line.
  4.  
  5. Matthias Neeracher
  6.  
  7. -----------------
  8.  
  9. Although supplied with the perl package, the perl scripts in this eg
  10. directory and its subdirectories are placed in the public domain, and
  11. you may do anything with them that you wish.
  12.  
  13. This stuff is supplied on an as-is basis--little attempt has been made to make
  14. any of it portable.  It's mostly here to give you an idea of what perl code
  15. looks like, and what tricks and idioms are used.
  16.  
  17. System administrators responsible for many computers will enjoy the items
  18. down in the g directory very much.  The scan directory contains the beginnings
  19. of a system to check on and report various kinds of anomalies.
  20.  
  21. If you machine doesn't support #!, the first thing you'll want to do is
  22. replace the #! with a couple of lines that look like this:
  23.  
  24.     eval "exec /usr/bin/perl -S $0 $*"
  25.         if $running_under_some_shell;
  26.  
  27. being sure to include any flags that were on the #! line.  A supplied script
  28. called "nih" will translate perl scripts in place for you:
  29.  
  30.     nih g/g??
  31.